package com.song.mapper;

import com.song.domain.OrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderItemMapper {
    List<OrderItem> listByOrderId(@Param("orderId") Long orderId);
    int insert(OrderItem item);
    int deleteByOrderId(@Param("orderId") Long orderId);
    int countByMaterialId(@Param("materialId") Long materialId);
}